<template>
  <div>
    <a v-bind:href="url">url</a>
    <a :href="url">url</a>

    <a v-on:click="dosome">do</a>
    <a @click="dosome">do</a>
  </div>
</template>

<script>
export default {
  name: 'vBindvOn',
  data () {
    return {
      url: 'http://www.baidu.com'
    }
  },
  methods: {
    dosome: function () {
      console.log('232')
      return 'http://www.bing.com'
    }
  }
}
</script>
